import request from '@/utils/request'

export function selectEquipmentList(data) {
  return request({
    url: '/equipment/api/findAllEquipment',
    method: 'post',
    data
  })
}

export function updateTribunalEquipmentBrand(data) {
  return request({
    url: '/equipment/api/updateTribunalEquipmentBrand',
    method: 'put',
    data
  })
}

export function addTribunalEquipmentBrand(data) {
  return request({
    url: '/equipment/api/addTribunalEquipmentBrand',
    method: 'post',
    data
  })
}

export function deleteTribunalEquipmentBrand(data) {
  return request({
    url: '/equipment/api/deleteTribunalEquipmentBrand',
    method: 'delete',
    data
  })
}

export function getAllTribunalEquipmentBrandList() {
  return request({
    url: '/equipment/api/getAllTribunalEquipmentBrandList',
    method: 'get'
  })
}

export function getAllTribunalEquipmentBrandListByAssembly() {
  return request({
    url: '/equipment/api/getAllTribunalEquipmentBrandListByAssembly',
    method: 'get'
  })
}

